package com.zmzncs.lmtc.module.promotion.pojo.ticket;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 任建波
 * @since 2020-10-09
 */
@Data
public class TicketSelectForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页",required = true)
    @NotNull
    private long current;

    @ApiModelProperty(value = "每页显示条数",required = true)
    @NotNull
    private long size;

    @ApiModelProperty(value = "优惠券名称",required = false)
    private String ticketName;

    @ApiModelProperty(value = "优惠类型，1.满减 2.折扣",required = false)
    private Integer preferentialType;

    @ApiModelProperty(value = "使用类型，1.通用 2.时长 3.月租 4.充值",required = false)
    private Integer useType;

}
